/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.modbusServer;

import com.seari.modbusServer.api.IModbusServerApi;
import com.seari.modbusServer.api.SimpleModbusServerApiImpl;
import java.util.Properties;

/**
 *
 * @author Rainbow
 */
public class MainController
{
    public static Properties config;
    
    public static void main(String[] args)
    {
        IModbusServerApi api = new SimpleModbusServerApiImpl();
        int unitID = 1;
        int port = 2404;
        int poolSize = 5;
        int regCount = 65000;
        api.createServer(unitID, port, poolSize, regCount);
    }
}
